<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <title>LCOV - iris.info - kernel/component.h</title>
  <link rel="stylesheet" type="text/css" href="../gcov.css">
</head>

<body>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="title">LTP GCOV extension - code coverage report</td></tr>
    <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>

    <tr>
      <td width="100%">
        <table cellpadding=1 border=0 width="100%">
        <tr>
          <td class="headerItem" width="20%">Current&nbsp;view:</td>
          <td class="headerValue" width="80%" colspan=4><a href="../index.html">directory</a> - <a href="index.html">kernel</a> - component.h</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Test:</td>
          <td class="headerValue" width="80%" colspan=4>iris.info</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Date:</td>
          <td class="headerValue" width="20%">2010-05-24</td>
          <td width="20%"></td>
          <td class="headerItem" width="20%">Instrumented&nbsp;lines:</td>
          <td class="headerValue" width="20%">1</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Code&nbsp;covered:</td>
          <td class="headerValue" width="20%">100.0 %</td>
          <td width="20%"></td>
          <td class="headerItem" width="20%">Executed&nbsp;lines:</td>
          <td class="headerValue" width="20%">1</td>
        </tr>
        </table>
      </td>
    </tr>
    <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>
  </table>

  <table cellpadding=0 cellspacing=0 border=0>
    <tr>
      <td><br></td>
    </tr>
    <tr>
      <td><pre class="source">
<span class="lineNum">       1 </span>                : #ifndef __COMPONENT_H__
<span class="lineNum">       2 </span>                : #define __COMPONENT_H__
<span class="lineNum">       3 </span>                : 
<span class="lineNum">       4 </span>                : #include &lt;vector&gt;
<span class="lineNum">       5 </span>                : #include &quot;simulator.h&quot;
<span class="lineNum">       6 </span>                : #include &quot;link.h&quot;
<span class="lineNum">       7 </span>                : 
<span class="lineNum">       8 </span>                : 
<span class="lineNum">       9 </span>                : //class Simulator;
<span class="lineNum">      10 </span>                : 
<span class="lineNum">      11 </span>                : class Component
<span class="lineNum">      12 </span>                : {
<span class="lineNum">      13 </span>                :  private:
<span class="lineNum">      14 </span>                :   int componentId;
<span class="lineNum">      15 </span>                :  public:
<span class="lineNum">      16 </span>                :   std::vector&lt;Link*&gt; inLinks;
<span class="lineNum">      17 </span>                :   std::vector&lt;Link*&gt; outLinks;
<span class="lineNum">      18 </span>                :   Component();
<span class="lineNum">      19 </span>                :   Component(int lpId);
<span class="lineNum">      20 </span>                :   ~Component();
<span class="lineNum">      21 </span>                :   void setComponentId(int id);
<span class="lineNum">      22 </span>                :   void addInputLink(Link* l);
<span class="lineNum">      23 </span>                :   void addOutputLink(Link* l);
<span class="lineNum">      24 </span><span class="lineCov">           1632 :   int myId(){return componentId;}</span>
<span class="lineNum">      25 </span>                : };
<span class="lineNum">      26 </span>                : 
<span class="lineNum">      27 </span>                : 
<span class="lineNum">      28 </span>                : #endif
</pre>
      </td>
    </tr>
  </table>
  <br>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
  <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>
  <tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LTP GCOV extension version 1.6</a></td></tr>
  </table>
  <br>

</body>
</html>
